package com.ibm.db2oncampus.portal.framework.orm.hibernate;

import java.util.*;
import org.springframework.beans.factory.BeanNameAware;

/**
 * 
 * @author Wellington
 *
 */
public class FilterFactoryBean implements BeanNameAware {

	private String name;
    private List associationFilters;
    private Map filters;
	
    public FilterFactoryBean() {
        associationFilters = new ArrayList();
        filters = new HashMap();
    }

    public void setBeanName(String name) {
        if(this.name == null) {
            this.name = name;
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String persistentClass) {
        name = persistentClass;
    }

    public void setAssociationFilters(List associationFilters) {
        this.associationFilters = associationFilters;
    }

    public List getAssociationFilters() {
        return associationFilters;
    }

    public void setFilters(Map filters) {
        this.filters = filters;
    }

    public Map getFilters() {
        return filters;
    }
}